#include "resource.h"

#define dim(x) (sizeof(x)/sizeof(x[0]))



struct DecodeUnit{
	UINT message;
	LONG (*fun)(HWND,UINT,WPARAM,LPARAM);
};
typedef struct _Data{
	TCHAR name[20];
	int age;
}Data;

INT_PTR CALLBACK DlgPorc(HWND,UINT,WPARAM,LPARAM);

LONG OnInitDialog(HWND hDlg,UINT message,WPARAM wParam,LPARAM lParam);
LONG DoCommand(HWND hDlg,UINT message,WPARAM wParam,LPARAM lParam);
LONG OnClose(HWND hDlg,UINT message,WPARAM wParam,LPARAM lParam);
LONG OnBackBtnClick(HWND hDlg,UINT message,WPARAM wParam,LPARAM lParam);
LONG OnNextBtnClick(HWND hDlg,UINT message,WPARAM wParam,LPARAM lParam);





VOID CALLBACK TimerProc(HWND hwnd,UINT uMsg,UINT_PTR idEvent,DWORD dwTime);


void createFont(HWND hDlg);



